<?php

namespace AppBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * EntVersion
 *
 * @ORM\Table(name="ent_version", uniqueConstraints={@ORM\UniqueConstraint(name="ent_version_pk", columns={"id"})})
 * @ORM\Entity(repositoryClass="AppBundle\Repository\EntVersionRepository")
 */
class EntVersion
{
    /**
     * @var string
     *
     * @ORM\Column(name="app_type", type="string", length=255, nullable=true)
     */
    private $appType;

    /**
     * @var string
     *
     * @ORM\Column(name="version", type="string", length=255, nullable=true)
     */
    private $version;

    /**
     * @var string
     *
     * @ORM\Column(name="version_code", type="string", length=255, nullable=true)
     */
    private $versionCode;

    /**
     * @var integer
     *
     * @ORM\Column(name="is_force", type="integer", nullable=true)
     */
    private $isForce;

    /**
     * @var string
     *
     * @ORM\Column(name="apk_url", type="string", length=4000, nullable=true)
     */
    private $apkUrl;

    /**
     * @var string
     *
     * @ORM\Column(name="upgrade_point", type="string", length=4000, nullable=true)
     */
    private $upgradePoint;

    /**
     * @var integer
     *
     * @ORM\Column(name="status", type="integer", nullable=true)
     */
    private $status;

    /**
     * @var \DateTime
     *
     * @ORM\Column(name="create_time", type="datetime", nullable=true)
     */
    private $createTime;

    /**
     * @var \DateTime
     *
     * @ORM\Column(name="update_time", type="datetime", nullable=true)
     */
    private $updateTime;

    /**
     * @var integer
     *
     * @ORM\Column(name="id", type="integer")
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="SEQUENCE")
     * @ORM\SequenceGenerator(sequenceName="ent_version_id_seq", allocationSize=1, initialValue=1)
     */
    private $id;



    /**
     * Set appType
     *
     * @param string $appType
     *
     * @return EntVersion
     */
    public function setAppType($appType)
    {
        $this->appType = $appType;
    
        return $this;
    }

    /**
     * Get appType
     *
     * @return string
     */
    public function getAppType()
    {
        return $this->appType;
    }

    /**
     * Set version
     *
     * @param string $version
     *
     * @return EntVersion
     */
    public function setVersion($version)
    {
        $this->version = $version;
    
        return $this;
    }

    /**
     * Get version
     *
     * @return string
     */
    public function getVersion()
    {
        return $this->version;
    }

    /**
     * Set versionCode
     *
     * @param string $versionCode
     *
     * @return EntVersion
     */
    public function setVersionCode($versionCode)
    {
        $this->versionCode = $versionCode;
    
        return $this;
    }

    /**
     * Get versionCode
     *
     * @return string
     */
    public function getVersionCode()
    {
        return $this->versionCode;
    }

    /**
     * Set isForce
     *
     * @param integer $isForce
     *
     * @return EntVersion
     */
    public function setIsForce($isForce)
    {
        $this->isForce = $isForce;
    
        return $this;
    }

    /**
     * Get isForce
     *
     * @return integer
     */
    public function getIsForce()
    {
        return $this->isForce;
    }

    /**
     * Set apkUrl
     *
     * @param string $apkUrl
     *
     * @return EntVersion
     */
    public function setApkUrl($apkUrl)
    {
        $this->apkUrl = $apkUrl;
    
        return $this;
    }

    /**
     * Get apkUrl
     *
     * @return string
     */
    public function getApkUrl()
    {
        return $this->apkUrl;
    }

    /**
     * Set upgradePoint
     *
     * @param string $upgradePoint
     *
     * @return EntVersion
     */
    public function setUpgradePoint($upgradePoint)
    {
        $this->upgradePoint = $upgradePoint;
    
        return $this;
    }

    /**
     * Get upgradePoint
     *
     * @return string
     */
    public function getUpgradePoint()
    {
        return $this->upgradePoint;
    }

    /**
     * Set status
     *
     * @param integer $status
     *
     * @return EntVersion
     */
    public function setStatus($status)
    {
        $this->status = $status;
    
        return $this;
    }

    /**
     * Get status
     *
     * @return integer
     */
    public function getStatus()
    {
        return $this->status;
    }

    /**
     * Set createTime
     *
     * @param \DateTime $createTime
     *
     * @return EntVersion
     */
    public function setCreateTime($createTime)
    {
        $this->createTime = $createTime;
    
        return $this;
    }

    /**
     * Get createTime
     *
     * @return \DateTime
     */
    public function getCreateTime()
    {
        return $this->createTime;
    }

    /**
     * Set updateTime
     *
     * @param \DateTime $updateTime
     *
     * @return EntVersion
     */
    public function setUpdateTime($updateTime)
    {
        $this->updateTime = $updateTime;
    
        return $this;
    }

    /**
     * Get updateTime
     *
     * @return \DateTime
     */
    public function getUpdateTime()
    {
        return $this->updateTime;
    }

    /**
     * Get id
     *
     * @return integer
     */
    public function getId()
    {
        return $this->id;
    }
}
